package com.example.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.entity.User;
import com.example.entity.UserVo;
import com.example.mapper.UserMapper;
import com.example.service.UserService;
@Service
public class UserServiceImpl  implements UserService{
	@Autowired
	private UserMapper u;

	@Override
	public List<User> getAllUser(UserVo userVo) {
		// TODO Auto-generated method stub
		return u.getAllUser(userVo);
	}

	@Override
	public Integer getCount(UserVo userVo) {
		// TODO Auto-generated method stub
		return u.getCount(userVo);
	}

}
